SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17acf3c64163fe376563fa46f7fa1124b34f9f1884bb2493703b3496946df0b7' 
  AND token = '4ocKiBgy0TM57SDWyNCt0G/yn5T7y+w5A9DMtpF00ts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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