SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f432dee35f27c080d48ac0cbcd23f1193f7af68a471f69ab3568d48543b326d2' 
  AND token = 'V914d3yinBvToJeQasPh7p+VV6ktNgflElkFwO5ccl0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00071

JSON explain

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