SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ce471b9382992012a66ded1a4fb974fe5c095fef3399dcdc1cd94d872d89e3f' 
  AND token = '95TZ00Y96HZfIcmi1IZWXswySkOJ2008fwzjyAUwBio=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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