SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cbb90487dc2708d60042020a65104f9e8f664eda1e4bab2d903351f1b707d38' 
  AND token = 'c6/247rAVKiDXWNBwz29Lns56R+MotEkbi0bW5YnVic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00084

JSON explain

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