SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6a9a79efd54736f380a23e67ecada60920e91e85e8a517ddda50bb40124807c1' 
  AND token = '4KbpgTOplndD7tlGmbgV6++mo1Z3e+3eBWyTu2bYpxo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}