SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a50715511959282fbc64433f109caf72785bc2966436543acc889b70b4d22bb' 
  AND token = 'fpA06zEjbCSAyZ447hEIyWT3Spa2A2V8B5aSbND8dzA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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