SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9c1bd6d860eb87a7cd8816aea944d52e2830ff845a1964c71efb5a29b3db8df' 
  AND token = 'qk/a6nSjvid/Pf82dr2BTh0cXy/NyLIlY1S+dHfABNI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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