SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa77187049e8749d3ba9d58da942e01fac92536e7b774a8bb2a3093ba9068f1c' 
  AND token = 'WGmOy+akORsRN0vW5IMVGSqc5qkHuEDh3S/J4Wu3wg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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