SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f961b21327f60bfea0075d0c4a97079f700f36191ee40d7cf2dcdf928b511545' 
  AND token = 'kMpwD+bCrMv7hyXa5yNVm21EhjovqEKDq4kNoatKOZc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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