SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fab5be2e9bde5691f0c7f50e16ba8a5c85ab1c98823dac0f266ff6a8587d0c3b' 
  AND token = 'ZnY6IS1Zxh4zg28nQ5+1BsRlUsd9cOvac9roVoRPhlY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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