SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bdc490528ce6185e3c61ee3488b56f123c2181a134c2d349428f99403edfb51e' 
  AND token = '78gStZl6jbtRcZAA01L6Ea/JS6CGr/awKnZPVRPabyU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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