SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10dcf801df37b4141d8f0db90200316c0bd1a0cd391ba04305e448e329dc30c0' 
  AND token = 'ojt9K5AphbnEbGmPXwQI+bpQ7/Xr9QesY8Udx5vV7Ak=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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