SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd25dfa4ebafedeee254c5760d16216d434e4317a1e4d37fcaccd603b68ea2c4' 
  AND token = 'kqe5DMpJcYWmuGcPzMB8qi319wFnx57pDV/LdFV5Bbo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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