SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bba2596161f0587aaafbdb80affe8516a242ae0a4a3b6bdc7723e9071238674a' 
  AND token = 'd5sA/EJiFNr9GVZ37BQNqU2Nr8/Y4vqJJsEAQuYzC2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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