SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8efac5723650a1021bdc4c61c412a44957c96332df77e9c392d345d28ef347fe' 
  AND token = 'Dx/I4f9b5Dbq1nwYgnYTONL2ItxYupk/l8tuGBMvCpU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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