SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a1ae59bb614aa8655b4ee2ac9490267ea594cd470a302e0665e81cd9fbafb59c' 
  AND token = 'Zhh8piALgdpi3YoAh2jG6EBdxpWl1Osn0O0Lx2Ka3Y4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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