SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b0645955f4420b04f95d5cd335af1f61ef376fea45cbafeea85ac8a5dfd53a0a' 
  AND token = 'vK6EJyVQKET1fdgeJ2Ews+lO0iTvs5E/8AjhUI2KJRU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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