SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1a8920bcb2a89d6e261d7d5b588c24314cf23e48838bddf901047c73879c0fc' 
  AND token = 'aNfzOnhEdWD6/Iq42OMlSp4TSqf9wtzDP7mm0+2Du6Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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