SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '989bc843531517a1d00121d9bb1d0140b477f17fb24ce8c272219eee12a83cef' 
  AND token = 'TJjMsvjPTV8k5b1XUDHDOLdri4PE5bzOKJ8Lw0q7nCM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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