SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '123e867c352fa3543f4734597578a2e537969faf355af5c0c172fa52482e8312' 
  AND token = 'fDltRLlFfj8Mvfv5c4S8Mo5ASo3nlT5ZJSwhZ5Xb3LE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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