SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5167d1c2d7f7b3977d6873e5c61310e2a3cf3caf4b3f1dfd7ee3f86970d8c240' 
  AND token = 'JrTGGyQupo7ZjjwWUWpfAYYSzGFgIMEO9Sf5fPfnSdE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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