SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae79dec269cdf10acec93c77edb9356fc65be1eacbbaa828301dbbff7b980d5e' 
  AND token = 'Ua96EiGpi/8nAa2wQ4Ms+ZZoFpnBJR9mv/CdWu1OSfc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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