SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f475dffba7f46d02879647bdc8e01262a71237f598cae609480da26d061d2ea' 
  AND token = 'hQCXhFXBW+C6ETNBSe4WtnP6BaHs7PmQRpWpEyyenQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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