SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d7234e82fae787a41b8ff05dc073474d7af5be8dbb5bc45fcfe74f3bfb07ad3' 
  AND token = 'h4KbLRY/kEhfeEeeCmQLzE3wMtJYt5v9zssQnSRgS+Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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