SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a52dc512a8a921445128920770a677091a79904a2842b241532a42ed0f0307d' 
  AND token = 'mjSrotn6GsFRhh+ccJboB8XK3LTpBJcse8iv7nb9W/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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