SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74c1d7225113fe5daafeb6ff1f5decef36d66027549df811f8f795d382157ec3' 
  AND token = 'fZk8VQuhLK9Y/c9xeL0T70V7CgGD4Pnay2/ly4OyI48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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