SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd89242826be2d157bc224027938ffb64a8805d15babeccf59fa36dc466ad518a' 
  AND token = 'W+lt+3oPBPC8ZMYdWm7SAegS19+94BNdLuDxGKW+I7E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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