SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7c6e7e13d6144ee33c64571b715087c687f8474f9178510a6cd2e48d7fc0382' 
  AND token = 'fyan1wF0+vMCOAyRAfzmzPuXQhFXoH+GVkHiLMy+ivA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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