SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4add0762cb6eec25580dc4b74edd19b47a9e67178649985a3d8d211ab33df59f' 
  AND token = '950zNenJRkrvYRrWUG7LFyFgitOcJ6wuPld7G/HotFE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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