SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad522a78a0a01e31d21a598193862a57061f9665de804e42e66e0ff77e37226f' 
  AND token = '88RvEuer43BR/2+D8JjhSUo7/pQeQ+C6+0JfSuT8hIk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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