SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '581fb5152ec7bb2cafddb98ab6d94cb2325e308ec7fbdda0d5cb431cc4b3b2b2' 
  AND token = 'L9pcNwJNzBuWQ6Uvv1Tr0A13PQifAabiCsuWU14ixZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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