SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99f82ad1b115fce8add773399a0a51e65419e1e3b8f1092809178137d550dfea' 
  AND token = 'pkFLPHObQsaUHj04frA4gxPdscVQJ2OVOLLhiXI2O/U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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